package io.kiki.task.server.retry.task.support.event;


import io.kiki.task.template.datasource.persistence.po.RetryTask;
import org.springframework.context.ApplicationEvent;

/**
 * 重试任务失败数量超过阈值事件
 */
public class RetryTaskFailMoreThresholdAlarmEvent extends ApplicationEvent {
    private RetryTask retryTask;

    public RetryTaskFailMoreThresholdAlarmEvent(RetryTask retryTask) {
        super(retryTask);
        this.retryTask = retryTask;
    }

    public RetryTask getRetryTask() {
        return retryTask;
    }
}
